package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-06-29 16:49
 */
@Mapper
public interface AdminMapper {

    List<Admin> listAdmins();

    Admin getAdminById(String account);

    int saveAdmin(Admin admin);

    int updateAdmin(Admin admin);

    int deleteAdmin(String account);

}
